The Dreamweaver JavaScript API > Table editing functions > dom.getTableExtent()

 

dom.getTableExtent()

Availability

Dreamweaver 3.0

Description

Gets the number of columns and rows in the selected table.

Arguments

None.

Returns

An array containing two whole numbers. The first array item is the number of columns, and the second array item is the number of rows. If no table was selected, nothing is returned.

Enabler

None.